package com.immortal.core.module.file;

import com.google.common.collect.Maps;
import lombok.Data;

import java.util.Map;
@Data
public class MultiFileResult {
    private Map<String,FileResult>  map= Maps.newHashMap();

    public boolean check(String type){
        FileResult fileResult=map.get(type);
        if(fileResult==null){
            return false;
        }else {
            return fileResult.getCode().equals(1);
        }
    }
}
